<?php
function microtime_float()
{
    list($usec, $sec) = explode(" ", microtime());
    return ((float)$usec + (float)$sec);
}
$start=microtime_float();
/**
 * Default Layout
 *  
 * @author
 * @version
 */

echo '<?xml version="1.0" encoding="UTF-8" ?>';
echo $this->doctype();
?>

<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<?php 
		echo $this->headTitle();		    
	    echo $this->jQuery();
	    
	    echo $this->headScript()->appendFile($this->baseUrl() . '/public/scripts/JQuery/jquery.rte.js')
	    ->appendFile($this->baseUrl() . '/public/scripts/JQuery/jquery.rte.tb.js')   
		->appendFile($this->baseUrl() . '/public/scripts/JQuery/test.js');
		 	
		$cssNormal =  $this->headLink();
		$cssNormal->appendStylesheet($this->baseUrl() . '/public/styles/smoothness/jquery-ui.css')
		->appendStylesheet(
			$this->baseUrl() . '/public/styles/blueprint/screen.css',
			'screen, projection'	
		)
		->appendStylesheet(
			$this->baseUrl() . '/public/styles/blueprint/print.css',
			'print'	
		)
		->appendStylesheet(
			$this->baseUrl() . '/public/styles/jqueryRte/jquery.rte.css'	
		);	

				
		/*
		 * Vsetky priehliadace
		
		echo $cssNormal;
		*/
		/*
		 * Internet Explorer
		 */
		echo $this->headLink()->appendStylesheet(
					$this->baseUrl() . '/public/styles/blueprint/ie.css',
					'screen, projection',
					'lt IE 8'
			 );
		
	    ?>  
	</head>	
	<body>		
		<div class="container">
			<div class="span-24 last">				
				<div class="header">
					<div class="headerText">
						<a href="<?php echo $this->baseUrl();?>">
							<strong>Košilka</strong>
							<span>Správa harmonogramov k skúškam</span>
						</a>
					</div>
				</div>
				
			</div>			
			<div class="span-24 navigation last">				
					<?php echo $this->navigation()->menu()->render();?>				
			</div>			
			<div class="span-24 last">
				<div class="pageContent">
					<?php echo $this->layout()->content ?>
				</div>
			</div>
			<div class="span-24 last">
				<div class="footer">Copyright &copy; Radovan Dvorský</div>
			</div>
		</div>		
	</body>
</html>
<?php
$end=microtime_float();
echo $result=$end-$start." s";
?>	